import config from '@/common/config'
//默认
const opList = [{
		iconPath: config.baseImgUrl + "/minis/tabbar/home.png", // 未点击的图标
		selectedIconPath: config.baseImgUrl + "/minis/tabbar/home-on.png", // 已点击的图标
		text: '首页', // 标题
		pagePath: "/pages/index/index", // 页面路径
		name: "home", // 名字
		index: '0' // 下标
	},
	{
		iconPath: config.baseImgUrl + "/minis/tabbar/housing.png",
		selectedIconPath: config.baseImgUrl + "/minis/tabbar/housing-on.png",
		text: '房源',
		pagePath: "/pages/index/fanyuanlist",
		name: "fanyuanlist",
		index: '1'
	},
	{
		iconPath: config.baseImgUrl+"/minis/tabbar/finance.png",
		selectedIconPath: config.baseImgUrl+"/minis/tabbar/finance-on.png",
		text: '咨询',
		pagePath: "/pages/category/category",
		name: "category",
		index: '2'
	},
	{
		iconPath: config.baseImgUrl + "/minis/home/mys.png",
		selectedIconPath: config.baseImgUrl + "/minis/home/mys-on.png",
		text: '我的',
		pagePath: "/pages/user/user",
		name: "my",
		index: '3'
	},
]
// 普通用户
const swimList = [{
	iconPath: config.baseImgUrl + "/minis/tabbar/home.png", // 未点击的图标
	selectedIconPath: config.baseImgUrl + "/minis/tabbar/home-on.png", // 已点击的图标
	text: '首页', // 标题
	pagePath: "/pages/index/index", // 页面路径
	name: "home", // 名字
	index: '0' // 下标
},
	{
		iconPath: config.baseImgUrl + "/minis/tabbar/housing.png",
		selectedIconPath: config.baseImgUrl + "/minis/tabbar/housing-on.png",
		text: '房源',
		pagePath: "/pages/index/fanyuanlist",
		name: "fanyuanlist",
		index: '1'
	},
	{
		iconPath: config.baseImgUrl+"/minis/tabbar/finance.png",
		selectedIconPath: config.baseImgUrl+"/minis/tabbar/finance-on.png",
		text: '咨询',
		pagePath: "/pages/category/category",
		name: "category",
		index: '2'
	},
	{
		iconPath: config.baseImgUrl + "/minis/home/mys.png",
		selectedIconPath: config.baseImgUrl + "/minis/home/mys-on.png",
		text: '我的',
		pagePath: "/pages/user/user",
		name: "my",
		index: '3'
	},
]
// 业务员端
const adminList = [{
		iconPath: config.baseImgUrl + "/minis/tabbar/home.png", // 未点击的图标
		selectedIconPath: config.baseImgUrl + "/minis/tabbar/home-on.png", // 已点击的图标
		text: '首页', // 标题
		pagePath: "/pages/index/index", // 页面路径
		name: "home", // 名字
		index: '0' // 下标
	},
	{
		iconPath: config.baseImgUrl + "/minis/home/client.png",
		selectedIconPath: config.baseImgUrl + "/minis/home/client-on.png",
		text: '客户列表',
		pagePath: "/pages/search/search",
		name: "search",
		index: '2'
	},
	{
		iconPath: config.baseImgUrl + "/minis/home/mys.png",
		selectedIconPath: config.baseImgUrl + "/minis/home/mys-on.png",
		text: '我的',
		pagePath: "/pages/user/user",
		name: "my",
		index: '3'
	},
]
// 权证端
const warrantList = [{
		iconPath: config.baseImgUrl + "/minis/tabbar/home.png", // 未点击的图标
		selectedIconPath: config.baseImgUrl + "/minis/tabbar/home-on.png", // 已点击的图标
		text: '首页', // 标题
		pagePath: "/pages/index/index", // 页面路径
		name: "home", // 名字
		index: '0' // 下标
	},
	{
		iconPath: config.baseImgUrl + "/minis/home/client.png",
		selectedIconPath: config.baseImgUrl + "/minis/home/client-on.png",
		text: '客户列表',
		pagePath: "/pages/search/search",
		name: "search",
		index: '2'
	},
	{
		iconPath: config.baseImgUrl + "/minis/home/mys.png",
		selectedIconPath: config.baseImgUrl + "/minis/home/mys-on.png",
		text: '我的',
		pagePath: "/pages/user/user",
		name: "my",
		index: '3'
	},
]

export default [opList,swimList, adminList, warrantList,]